package com.atguigu.gmall.seckill.service;


import com.atguigu.gmall.model.activity.SeckillGoods;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface SeckillGoodsService extends IService<SeckillGoods> {

    List<SeckillGoods> getSecKillList();

    List<SeckillGoods> getFocusSecKillGoodsList(String plusDay);
    //获得指定skuId的商品详情
    SeckillGoods getSecKillDetails(Long skuId);

    void reduceStock(Long skuId);
}
